const { citys, list }  = require('./mock')

module.exports = app => {
  app.get('/api/citys', (req,res) => {
    res.send( {
      code: 200,
      data: citys
    })
  })
  
 app.get('/api/list', (req,res) => {
    res.send({
      code: 200,
      data: list
    })
  })
}